package com.campus.manage.service;

import java.util.List;
import com.campus.manage.domain.ClubAnnounce;

/**
 * 公告Service接口
 * 
 * @author hehe
 * @date 2025-10-22
 */
public interface IClubAnnounceService 
{
    /**
     * 查询公告
     * 
     * @param announceId 公告主键
     * @return 公告
     */
    public ClubAnnounce selectClubAnnounceByAnnounceId(Long announceId);

    /**
     * 查询公告列表
     * 
     * @param clubAnnounce 公告
     * @return 公告集合
     */
    public List<ClubAnnounce> selectClubAnnounceList(ClubAnnounce clubAnnounce);

    /**
     * 新增公告
     * 
     * @param clubAnnounce 公告
     * @return 结果
     */
    public int insertClubAnnounce(ClubAnnounce clubAnnounce);

    /**
     * 修改公告
     * 
     * @param clubAnnounce 公告
     * @return 结果
     */
    public int updateClubAnnounce(ClubAnnounce clubAnnounce);

    /**
     * 批量删除公告
     * 
     * @param announceIds 需要删除的公告主键集合
     * @return 结果
     */
    public int deleteClubAnnounceByAnnounceIds(Long[] announceIds);

    /**
     * 删除公告信息
     * 
     * @param announceId 公告主键
     * @return 结果
     */
    public int deleteClubAnnounceByAnnounceId(Long announceId);
}
